<!-- templates/nav.html -->
<nav style="background-color: #343a40; padding: 10px;">
    <div style="display: flex; justify-content: center; gap: 20px;">
        <a href="/" style="color: white; text-decoration: none; font-weight: bold;">首页</a>
        <a href="/history" style="color: white; text-decoration: none; font-weight: bold;">历史数据</a>
        <a href="/predict" style="color: white; text-decoration: none; font-weight: bold;">未来预测</a>
        <a href="/control" style="color: white; text-decoration: none; font-weight: bold;">控制</a>
        <a href="/chat" style="color: white; text-decoration: none; font-weight: bold;">大模型</a>
        
    </div>
</nav>